package com.plian.system.service.im;

import com.baomidou.mybatisplus.extension.service.IService;
import com.plian.system.entity.im.FundProjectAmountDetail;

import java.util.List;
import java.util.Map;

/**
 * 服务类
 *
 * @author
 * @since 2022-11-30
 */
public interface IFundProjectAmountDetailService extends IService<FundProjectAmountDetail> {

    /**
     * 根据主表id删除数据
     * @param baseId
     * @return
     */
    boolean removeByBaseId(Long baseId);

    /**
     * 根据主表id获取数据
     * @param baseId
     * @return
     */
    Map<Integer, List<FundProjectAmountDetail>> getMapByBaseId(Long baseId);

    /**
     * 根据主表ids获取数据
     * @param baseIds
     * @return
     */
    Map<String, List<FundProjectAmountDetail>> getMapByBaseIds(List<Long> baseIds);

}
